package com.eos.control.action.activity;

import com.eos.control.action.base.AbstractBaseAction;

public class DeleteRelationSetAction extends AbstractBaseAction {
	private static final long serialVersionUID = -2644079982124913678L;
	private Integer relationSetId;

	public void setRelationSetId(Integer relationSetId) {
		this.relationSetId = relationSetId;
	}

	@Override
	public String execute()  {
		try {
			if(null == relationSetId || relationSetId.intValue() <=0){
				statusCode = "300";
				message = "参数错误, 删除信息失败!";
			}else{
				
				statusCode = "200";
				message = "删除信息成功!";
			}
		} catch (Exception e) {
			e.printStackTrace();
			statusCode = "300";
			message = "系统异常, 删除信息失败!";
		}
		return SUCCESS;
	}
}
